//
//  LYNSMacro.h
//  LYDevelopKit
//
//  Created by 李阳 on 2018/5/31.
//

#ifndef LYNSMacro_h
#define LYNSMacro_h

/**
 Add this macro before each category implementation, so we don't have to use
 -all_load or -force_load to load object files from static libraries that only
 contain categories and no classes.
 More info: http://developer.apple.com/library/mac/#qa/qa2006/qa1490.html .
 *******************************************************************************
 Example:
 LYSYNTH_DUMMY_CLASS(NSString_YYAdd)
 */
#ifndef LYSYNTH_DUMMY_CLASS
#define LYSYNTH_DUMMY_CLASS(_name_) \
@interface LYSYNTH_DUMMY_CLASS_ ## _name_ : NSObject @end \
@implementation LYSYNTH_DUMMY_CLASS_ ## _name_ @end
#endif

#endif /* LYNSMacro_h */
